﻿using KayakMes.Common;
using KayakMes.ProductionPlan.Domain.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace KayakMes.ProductionPlan.Application
{
    public class ProductionPlan<T> : IProductionPlan<T>
    {
        private readonly BaseReposiotry<TextModel> textReposotory;

        public ProductionPlan(BaseReposiotry<TextModel> textReposotory)
        {
            this.textReposotory = textReposotory;
        }
        public int Add(TextModel t)
        {
            textReposotory.Add(t);
            return 1;
        }
    }
}
